package com.dieusoft.box.info.service;

import com.dieusoft.box.info.entity.JzxDefaultCostDetails;
import com.dieusoft.box.info.entity.JzxInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;
import java.util.Map;

/**
 * @Description: 集装箱管理
 * @Author: jeecg-boot
 * @Date: 2020-10-16
 * @Version: V1.0
 */
public interface IJzxInfoService extends IService<JzxInfo> {

    /**
     * 添加一对多
     */
    public void saveMain(JzxInfo jzxInfo, List<JzxDefaultCostDetails> jzxDefaultCostDetailsList);

    /**
     * 修改一对多
     */
    public void updateMain(JzxInfo jzxInfo, List<JzxDefaultCostDetails> jzxDefaultCostDetailsList);

    /**
     * 删除一对多
     */
    public void delMain(String id);

    /**
     * 批量删除一对多
     */
    public void delBatchMain(Collection<? extends Serializable> idList);

    public int insertMany(List<JzxInfo> jzxInfoList);

    List<Map<String, Object>> findByGroup(String sysOrgCode);

}
